cmake_minimum_required(VERSION 3.10)
project(duck_unitree_sdk_test)

# 设置策略以使用 GLVND
if(POLICY CMP0072)
    cmake_policy(SET CMP0072 NEW)
endif()

set(CMAKE_CXX_STANDARD 17)

find_package(duck_unitree_sdk REQUIRED)

include_directories(
        ${duck_unitree_sdk_INCLUDE_DIRS}
)

add_executable(unitree_sdk_main src/unitree_sdk_main.cpp)
target_link_libraries(unitree_sdk_main duck_unitree_sdk pthread)

